package com.lcf.jwt.emnus;

public enum ResultCode {

    PERMISSION_TOKEN_EXPIRED(1001,"Token过期"),
    PERMISSION_TOKEN_INVALID(1002,"token解析异常"),
    PERMISSION_SIGNATURE_ERROR(1003,"签名失败"),
    DELETE_FAILURE_NULL(1002,"删除失败,id不能为空");

    private Integer code;
    private String msg;


    private ResultCode(Integer code, String msg){
        this.code=code;
        this.msg=msg;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
